home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / lmconfig.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.9 KB  |  102 lines

  1. /*++ BUILD Version: 0003    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1991-1996  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmconfig.h
  8.  
  9. Abstract:
  10.  
  11.     This module defines the API function prototypes and data structures
  12.     for the following groups of NT API functions:
  13.         NetConfig
  14.  
  15. Environment:
  16.  
  17.     User Mode - Win32
  18.  
  19. Notes:
  20.  
  21.     You must include NETCONS.H before this file, since this file depends
  22.     on values defined in NETCONS.H.
  23.  
  24. --*/
  25.  
  26. /*
  27.  *      C/C++ Run Time Library - Version 9.0
  28.  *
  29.  *      Copyright (c) 1997, 1998 by Borland International
  30.  *      All Rights Reserved.
  31.  *
  32.  */
  33.  
  34. #ifndef _LMCONFIG_
  35. #define _LMCONFIG_
  36. #pragma option push -b
  37.  
  38.  
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42.  
  43. #define REVISED_CONFIG_APIS
  44.  
  45. //
  46. // Function Prototypes - Config
  47. //
  48.  
  49. NET_API_STATUS NET_API_FUNCTION
  50. NetConfigGet (
  51.     IN  LPCWSTR  server OPTIONAL,
  52.     IN  LPCWSTR  component,
  53.     IN  LPCWSTR  parameter,
  54. #ifdef REVISED_CONFIG_APIS
  55.     OUT LPBYTE  *bufptr
  56. #else
  57.     OUT LPBYTE  *bufptr,
  58.     OUT LPDWORD totalavailable
  59. #endif
  60.     );
  61.  
  62. NET_API_STATUS NET_API_FUNCTION
  63. NetConfigGetAll (
  64.     IN  LPCWSTR  server OPTIONAL,
  65.     IN  LPCWSTR  component,
  66. #ifdef REVISED_CONFIG_APIS
  67.     OUT LPBYTE  *bufptr
  68. #else
  69.     OUT LPBYTE  *bufptr,
  70.     OUT LPDWORD totalavailable
  71. #endif
  72.     );
  73.  
  74.  
  75. NET_API_STATUS NET_API_FUNCTION
  76. NetConfigSet (
  77.     IN  LPCWSTR  server OPTIONAL,
  78.     IN  LPCWSTR  reserved1 OPTIONAL,
  79.     IN  LPCWSTR  component,
  80.     IN  DWORD   level,
  81.     IN  DWORD   reserved2,
  82.     IN  LPBYTE  buf,
  83.     IN  DWORD   reserved3
  84.     );
  85.  
  86. //
  87. // Data Structures - Config
  88. //
  89.  
  90. typedef struct _CONFIG_INFO_0 {
  91.      LPWSTR         cfgi0_key;
  92.      LPWSTR         cfgi0_data;
  93. } CONFIG_INFO_0, *PCONFIG_INFO_0, *LPCONFIG_INFO_0;
  94.  
  95.  
  96. #ifdef __cplusplus
  97. }
  98. #endif
  99.  
  100. #pragma option pop
  101. #endif  // _LMCONFIG_
  102.